﻿<%@ Page Title="" Language="C#" MasterPageFile="~/App_MasterPages/layout.Master" AutoEventWireup="true" CodeBehind="RSClientReportOld.aspx.cs" Inherits="mojoPortal.Web.RS.CRM.RSClientReportOld" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="leftContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">
<fieldset><legend>Report Columns</legend>
    <asp:CheckBoxList ID="chkReportColumns1" runat="server" RepeatColumns="8" RepeatLayout="Table" RepeatDirection="Horizontal">
	<asp:ListItem Text="ClientID" Selected="true" />
	<asp:ListItem Text="AgentID" Selected="true" />
	<asp:ListItem Text="Industry" Selected="False" />
	<asp:ListItem Text="NumEmployees" Selected="False" />
	<asp:ListItem Text="AnnualIncome" Selected="False" />
	<asp:ListItem Text="Phone" Selected="False" />
	<asp:ListItem Text="Fax" Selected="False" />
	<asp:ListItem Text="Email" Selected="False" />
	<asp:ListItem Text="Mobile" Selected="False" />
	<asp:ListItem Text="ParentAccount" Selected="False" />
	<asp:ListItem Text="AccountType" Selected="False" />
	<asp:ListItem Text="PersonalFinancialStrategy" Selected="False" />
	<asp:ListItem Text="AnnualStatement" Selected="False" />
	<asp:ListItem Text="DeliveryReceipt" Selected="False" />
	<asp:ListItem Text="ApplicationDate" Selected="False" />
	<asp:ListItem Text="AccountStatus" Selected="False" />
	<asp:ListItem Text="IssueDate" Selected="False" />
	<asp:ListItem Text="Provider" Selected="False" />
	<asp:ListItem Text="ProductName" Selected="False" />
	<asp:ListItem Text="AnnualReviewMonth" Selected="False" />
	<asp:ListItem Text="Title" Selected="False" />
	<asp:ListItem Text="FirstName" Selected="False" />
	<asp:ListItem Text="LastName" Selected="False" />
	<asp:ListItem Text="MiddleName" Selected="False" />
	<asp:ListItem Text="AccountNumberField" Selected="False" />
	<asp:ListItem Text="BillingStreet" Selected="False" />
	<asp:ListItem Text="BillingCity" Selected="False" />
	<asp:ListItem Text="BillingState" Selected="False" />
	<asp:ListItem Text="BillingZipCode" Selected="False" />
	<asp:ListItem Text="BillingCountry" Selected="False" />
	<asp:ListItem Text="ShippingStreet" Selected="False" />
	<asp:ListItem Text="ShippingCity" Selected="False" />
	<asp:ListItem Text="ShippingState" Selected="False" />
	<asp:ListItem Text="ShippingZipCode" Selected="False" />
	<asp:ListItem Text="ShippingCountry" Selected="False" />
	<asp:ListItem Text="Note" Selected="False" />
	<asp:ListItem Text="DescriptionInfo" Selected="False" />
	<asp:ListItem Text="Active" Selected="False" />
    </asp:CheckBoxList>
    </fieldset>
    <br />
    <asp:DropDownList ID="ddlAgent" runat="server"></asp:DropDownList>
    &nbsp;&nbsp;&nbsp;
    <asp:Button ID="btnRunReport" runat="server" Text="Run Report" OnClick="btnRunReport_Click" />
    
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
        Font-Size="8pt" Height="700px" Width="100%" 
        InteractiveDeviceInfos="(Collection)" WaitMessageFont-Names="Verdana" 
        WaitMessageFont-Size="14pt">
        <LocalReport ReportPath="RS\AppData\CRM\Reports\RDLC\RSCRMClientReport.rdlc">
            <DataSources>
                <rsweb:ReportDataSource DataSourceId="RSCRMClientDataSource" 
                    Name="tblClient" />
            </DataSources>
        </LocalReport>
    </rsweb:ReportViewer>

    <asp:ObjectDataSource ID="RSCRMClientDataSource" runat="server" 
        OldValuesParameterFormatString="original_{0}" 
        SelectMethod="GetRSCRMClientData" 
        TypeName="mojoPortal.Web.RS.AppData.CRM.Reports.RSCRMClientDatasetTableAdapters.rs_tblClientTableAdapter">
        <SelectParameters>
            <asp:SessionParameter Name="CompanyID" SessionField="CompanyID" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="rightContent" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="pageEditContent" runat="server">
</asp:Content>
